package cn.ibizlab.odoo.core.odoo_stock.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_stock.domain.Stock_track_confirmation;
import cn.ibizlab.odoo.core.odoo_stock.filter.Stock_track_confirmationSearchContext;

/**
 * 实体[Stock_track_confirmation] 服务对象接口
 */

public interface IStock_track_confirmationService{
     boolean create(Stock_track_confirmation stock_track_confirmation) ;
     void updateBatch(List<Stock_track_confirmation> stock_track_confirmations, int batchSize) ;
     Stock_track_confirmation get(Integer id) ;
     Stock_track_confirmation get(Stock_track_confirmation stock_track_confirmation) ;
     boolean remove(Integer id) ;
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;
     boolean update(Stock_track_confirmation stock_track_confirmation) ;
     void createBatch(List<Stock_track_confirmation> stock_track_confirmations, int batchSize) ;

    /**
     * 查询集合 默认查询
     */
    Page<Stock_track_confirmation> searchDefault(Stock_track_confirmationSearchContext context) ;

    /**
     * 根据用户查询
     */
     Page<Stock_track_confirmation> selectByOdoo_create(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Stock_track_confirmation> selectByOdoo_write(Integer id) ;

    /**
     * 根据库存查询
     */
     Page<Stock_track_confirmation> selectByOdoo_inventory(Integer id) ;

    /**
     * 转换ClientModel为Domain
     */
    public Stock_track_confirmation convert2Domain(cn.ibizlab.odoo.core.client.model.Istock_track_confirmation model ,Stock_track_confirmation domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Istock_track_confirmation convert2Model(Stock_track_confirmation domain , cn.ibizlab.odoo.core.client.model.Istock_track_confirmation model);

}
